@extends('index.layouts.page_app')

@section('header')
    <link href="{{ asset('/font-awesome/css/font-awesome.min.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/admin/layui/css/layui.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/index/master.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/index/gloable.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/index/nprogress.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/index/blog.css') }}" rel="stylesheet" type="text/css">
    <style>
        .card-min-height{
            height: 220px;
            overflow: hidden;
            padding: 8px 4px;
        }
        .layui-col-md2-5{
            width: 20%;
        }
        .layui-carousel[lay-anim=updown]>[carousel-item]>*, .layui-carousel[lay-anim=fade]>[carousel-item]>* {
            left: 5px!important;
            top: 10px!important;
        }

        .layui-carousel .layui-carousel-ind {
            position: absolute;
            top: -41px;
            right: 51px;
            text-align: right;
        }
        .layui-card {
            margin-bottom: 0px;
        }
        .colum-height{
            height: 190px;
        }
        .card-style{
            margin: 4px;
            border-radius: 10px;
            height: 195px;
            box-shadow: 8px 10px  rgba(60,67,82,0.15);
            padding: 3px 3px 0 3px;
        }
        .layui-card-header {
            position: relative;
            height: 60px;
            line-height: 60px;
            padding: 0 0px;
            border-bottom: 1px solid #f6f6f6;
            color: #333;
            border-radius: 2px 2px 0 0;
            font-size: 14px;
            top: 5px;
        }
        .layui-nav {
            position: relative;
            padding: 0 20px;
            background-color: #fff;
            color: #555;
            border-radius: 2px;
            font-size: 0;
            box-sizing: border-box;
        }
        #header_ad ,#headerban,#sendnewt{
            display: none!important;
        }
    </style>
@endsection
@section('content')
    <div class="doc-container" id="doc-container">
        <div class="container-fixed" style="width:100%">
            <div class="col-content" style="width:100%;text-align: center">
                <iframe style="width: 80%;min-height: 800px;overflow-y: hidden" src="{{$request->url}}"></iframe>
            </div>
        </div>
    </div>

@endsection
@section('scripts')
    <script src="{{ asset('js/jquery.min.js') }}" type="text/javascript" charset="utf-8"></script>
    <script src="{{ asset('/admin/layui/layui.js') }}"></script>
    <script>


        $(function(){
            setTimeout(function () {
                console.log('setTimeout')
                $(document).find('.gbbody').hide();
                $(document).find('#header').hide();
                $(document).find('#sendnewt').hide();
                $('#header_ad').hide();
                $('#headerban').hide();
                $('#sendnewt').hide();
            }, 10000); // 延时5秒
        })
    </script>

@endsection
